/**
 ******************************* ICE *******************************
 * ========================================================================
 * Project:		iceapi
 * Package:		org.ice4apps.api.beans
 * File:		OrganizationListGetResponse.java
 * Author: 		robin
 * Date: 		May 4, 2010
 * Description:	
 * ========================================================================
 * 
 */

package org.ice4apps.api.beans;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class OrganizationListGetResponse {
    List <OrganizationListGetEntry> entries;
    
    /**
     * @return the entries
     */
    @XmlElementWrapper(name = "organizations")
    public List<OrganizationListGetEntry> getEntries () {
        return this.entries;
    }
    
    /**
     * 
     */
    public OrganizationListGetResponse () {
        entries = new ArrayList <OrganizationListGetEntry> ();
    }
    /**
     * @param o
     * @return
     * @see java.util.List#add(java.lang.Object)
     */
    public boolean add (OrganizationListGetEntry o) {
        return this.entries.add (o);
    }
}
